package com.ruoyi.water.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

@Data
@TableName("t_meteranalyse")
public class MeterAnalyse {

    /** 顺序id，无实际意义 */
    @Excel(name = "顺序ID")
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 水表id */
    @Excel(name = "水表ID")
    @TableField("meterId")
    private Integer meterId;

    /** 水表名称 */
    @Excel(name = "水表名称")
    @TableField("meterName")
    private String meterName;

    /** 当天最小流量 */
    @Excel(name = "当天最小流量")
    @TableField("todayMinVal")
    private Double todayMinVal;

    /** 当天最小流量时间 */
    @Excel(name = "当天最小流量时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("todayMinvalTime")
    private Date todayMinvalTime;

    /** 当日最小流量与设置最小值的偏差百分比 */
    @Excel(name = "当日最小流量偏差百分比")
    @TableField("todayMinvalPercent")
    private Double todayMinvalPercent;

    /** 当日最小流量与设置最小值的偏差 */
    @Excel(name = "当日最小流量偏差值")
    @TableField("todayMinvalBias")
    private Double todayMinvalBias;

    /** 上月同日最小流量 */
    @Excel(name = "上月同日最小流量")
    @TableField("monthagoMinval")
    private Double monthagoMinval;

    /** 最小流量超过上月同最小流量的百分比，环比告警依据 */
    @Excel(name = "最小流量环比偏差百分比")
    @TableField("monthagoMinvalPercent")
    private Double monthagoMinvalPercent;

    /** 最小流量与上月同日最小流量差值 */
    @Excel(name = "最小流量环比偏差值")
    @TableField("monthagoMinvalBias")
    private Double monthagoMinvalBias;

    /** 上年同日最小流量 */
    @Excel(name = "上年同日最小流量")
    @TableField("yearagoMinval")
    private Double yearagoMinval;

    /** 最小流量超过上年同最小流量的百分比，同比告警依据 */
    @Excel(name = "最小流量同比偏差百分比")
    @TableField("yearagoMinvalPercent")
    private Double yearagoMinvalPercent;

    /** 最小流量与上年同日的最小流量差值 */
    @Excel(name = "最小流量同比偏差值")
    @TableField("yearagoMinvalBias")
    private Double yearagoMinvalBias;

    /** 当天用水量 */
    @Excel(name = "当天用水量")
    @TableField("todayUsage")
    private Double todayUsage;

    /** 用水量超过基准用量的百分比，基准报警依据 */
    @Excel(name = "用水量基准偏差百分比")
    @TableField("todayUsagePercent")
    private Double todayUsagePercent;

    /** 当日用量与设置基准用量差值 */
    @Excel(name = "用水量基准偏差值")
    @TableField("todayUsageBias")
    private Double todayUsageBias;

    /** 用水超过上月同日用水的百分比，环比告警依据 */
    @Excel(name = "用水量环比偏差百分比")
    @TableField("monthagoUsagePercent")
    private Double monthagoUsagePercent;

    /** 当日用量与上月同日的用量差值 */
    @Excel(name = "用水量环比偏差值")
    @TableField("monthagoUsageBias")
    private Double monthagoUsageBias;

    /** 上月同日用水量 */
    @Excel(name = "上月同日用水量")
    @TableField("monthagoUsage")
    private Double monthagoUsage;

    /** 用水超过去年同日用水的百分比，同比告警依据 */
    @Excel(name = "用水量同比偏差百分比")
    @TableField("yearagoUsagePercent")
    private Double yearagoUsagePercent;

    /** 当日用量与上年同日的用量差值 */
    @Excel(name = "用水量同比偏差值")
    @TableField("yearagoUsageBias")
    private Double yearagoUsageBias;

    /** 上年同日用水量 */
    @Excel(name = "上年同日用水量")
    @TableField("yearagoUsage")
    private Double yearagoUsage;

    /** 分析用水日期 */
    @Excel(name = "分析用水日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("analyseDate")
    private Date analyseDate;

    /** 记录时间 */
    @Excel(name = "记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("recordTime")
    private Date recordTime;
}